﻿using System;
using System.Linq;
using System.Web;

namespace Se.Framework.Web
{
    public class FormsAuthenticationUserKeyProvider : Se.Framework.Common.Data.IUserKeyProvider
    {
        public object GetCurrentUserKey()
        {
            return HttpContext.Current.User != null ? HttpContext.Current.User.Identity.Name : null;
        }
    }
}
